package com.hzb.springcloud.alibaba.myhander;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.hzb.springcloud.entities.CommonResult;
import com.hzb.springcloud.entities.Payment;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description: customerBlockHandler <br>
 * date: 2020/8/14 17:32 <br>
 * author: huangZB <br>
 * version: 1.0 <br>
 */
public class CustomerBlockHandler {


    public static CommonResult handlerException(BlockException blockException){

        return new CommonResult(2020,"自定义的限流处理信息~~~~~CustomerBlockHandler");
    }
}
